.page {
  height: 100vh;
  background-color: white;
  display: flex;
  flex-direction: column;
}

/* 导航栏样式 */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background-color: white;
  border-bottom: 1px solid #e8e8e8;
  height: 44px;
  box-sizing: border-box;
}

.navbarLeft {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.navbarTitle {
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.navbarRight {
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}

/* 内容区域 */
.content {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
}

/* 头部提示 */
.header {
  margin-bottom: 24px;
}

.header p {
  font-size: 16px;
  color: #333;
  margin: 0;
}

/* 表单样式 */
.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.formItem {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.label {
  font-size: 16px;
  color: #333;
  font-weight: 500;
  min-width: 100px;
  flex-shrink: 0;
}

.required {
  color: #ff4d4f;
  margin-left: 2px;
}

.inputContainer {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
}

.input {
  flex: 1;
  height: 32px;
  border: none;
  font-size: 16px;
  color: #333;
  background: transparent;
  outline: none;
  padding: 0;
  box-sizing: border-box;
}

.input::placeholder {
  color: #999;
}

.input:focus {
  color: #1890ff;
}

.inputError {
  color: #ff4d4f !important;
}

.errorText {
  font-size: 12px;
  color: #ff4d4f;
  margin-top: 4px;
  margin-left: 100px;
}

/* 下拉选择器样式 */
.dropdownTrigger {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 32px;
  cursor: pointer;
  position: relative;
}

.selectedValue {
  flex: 1;
  font-size: 16px;
  color: #333;
  text-align: left;
}

.selectedValue:empty::before {
  content: attr(data-placeholder);
  color: #999;
}

.arrow {
  color: #999;
  font-size: 12px;
  transition: transform 0.3s ease;
}

.dropdownTrigger:hover .arrow {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  max-height: 200px;
  overflow-y: auto;
  margin-top: 4px;
}

.dropdownItem {
  padding: 12px 16px;
  font-size: 16px;
  color: #333;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s ease;
}

.dropdownItem:last-child {
  border-bottom: none;
}

.dropdownItem:hover {
  background-color: #f5f5f5;
}

.dropdownItem.selected {
  background-color: #e6f7ff;
  color: #1890ff;
  font-weight: 500;
}

/* 验证码输入框 */
.verificationContainer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.verificationInput {
  flex: 1;
  height: 32px;
  border: none;
  font-size: 16px;
  color: #333;
  background: transparent;
  outline: none;
  padding: 0;
  box-sizing: border-box;
}

.verificationInput::placeholder {
  color: #999;
}

.verificationInput:focus {
  color: #1890ff;
}

.verificationButton {
  height: 32px;
  padding: 0 5px;
  background-color: #1890ff;
  color: white;
  border: none;
  border-radius: 16px;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  position: fixed;
  right: 5px;
}

.verificationButton:hover:not(:disabled) {
  background-color: #40a9ff;
}

.verificationButton:disabled {
  background-color: #d9d9d9;
  cursor: not-allowed;
}

/* 底部按钮 */
.bottomButton {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background-color: white;
  border-top: 1px solid #e8e8e8;
}

.bindButton {
  width: 100%;
  height: 48px;
  background: linear-gradient(135deg, #1890ff 0%, #40a9ff 100%);
  border: none;
  border-radius: 24px;
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3);
  transition: all 0.3s ease;
}

.bindButton:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(24, 144, 255, 0.4);
}

.bindButton:active {
  transform: translateY(0);
}
